import axios from './axios';

export default function search(type, page, size) {
  return axios.get('/search', {
    params: {
      type,
      page,
      size,
    },
  });
}
